package com.compass.mobile.ui.activity

import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.fragment.app.FragmentTransaction
import com.compass.mobile.R
import com.compass.mobile.databinding.ActivityHomePageBinding
import com.compass.mobile.framework.base.BaseVBActivity
import com.compass.mobile.framework.constant.KEY_DEPARTMENT_ID
import com.compass.mobile.ui.fragment.BookingRegistrationFragment

/**
 * Description： 预约挂号详情--暂时作废
 * Date:2024/6/3 22:04
 */
class BookingRegistrationActivity : BaseVBActivity<ActivityHomePageBinding>() {

    companion object {
        fun start(context: Context, departmentId: String) {
            val intent = Intent(context, BookingRegistrationActivity::class.java)
            intent.putExtra(KEY_DEPARTMENT_ID, departmentId)
            context.startActivity(intent)
        }
    }
    override fun initView(savedInstanceState: Bundle?) {
        val fragmentTransaction: FragmentTransaction = supportFragmentManager.beginTransaction()
        fragmentTransaction.replace(R.id.fragmentContainer, BookingRegistrationFragment())
        fragmentTransaction.commit()

    }
}